<cfcomponent>
<cffunction access="public" returntype="any" name="layout_head">
<title><cfoutput>#session.page_title#</cfoutput></title>
<cfoutput>#session.css_links#</cfoutput>
</head>
<body>
<script language="Javascript" type="text/javascript" src="/scripts/functional.js"></script>
<script language="Javascript" type="text/javascript" src="/scripts/jquery.js"></script>
<script language="Javascript" type="text/javascript" src="/scripts/ui.datepicker.js"></script>
<script language="Javascript" type="text/javascript" src="/scripts/jquery.innerfade.js"></script>
<script language="Javascript" type="text/javascript" src="/scripts/header_slide.js"></script>
<cfoutput>#session.js_links#</cfoutput>
</cffunction>

<cffunction access="public" name="GET">

</cffunction>

<cffunction access="public" name="POST">

</cffunction>

<cffunction access="public" returntype="any" name="layout_top">
<!--Force IE6 into quirks mode with this comment tag-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link rel="shortcut icon" href="favicon.ico" >
<link rel="icon" href="animated_favicon1.gif" type="image/gif" >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="expires" content="Mon, 06 Jan 2020 00:00:01 GMT">
</cffunction>

<cffunction access="public" returntype="any" name="layout_body_header">
<table class="" id="main_table"  cellpadding="0" cellspacing="0" align="center">
<tbody>
<tr>
<td  align="center" width="100%" >
&nbsp;
<div id="header_bg" ><div class="fade">
<div class="header_image_1" id="header_image_1">&nbsp;</div>
<div class="header_image_2" id="header_image_2">&nbsp;</div>
<div class="header_image_3" id="header_image_3">&nbsp;</div>
<div class="header_image_4" id="header_image_4">&nbsp;</div>
<div class="header_image_5" id="header_image_5">&nbsp;</div>
</div>
<div id="header_nav">
<table width="100%">
<tr><td align="right"><a href="search.cfm" >Search&nbsp;<img src="/images/system-search.png" border="0" id="link_first" align="absmiddle" alt="Search POC"title="Search POC" class="img" ></a></td></tr>
<tr><td align="right"><a href="detail.cfm" >Detail&nbsp;<img src="/images/accessories-text-editor.png" border="0" id="link_first" align="absmiddle" alt="Detail"title="Detail" class="img" ></a></td></tr>
<tr><td align="right"><a href="reports.cfm" >Reports&nbsp;<img src="/images/contact-new.png" border="0" id="link_first" align="absmiddle" alt="Reports"title="Reports" class="img" ></a></td></tr>
<tr><td align="right"><a href="admin_poc.cfm" >Admin&nbsp;<img src="/images/preferences-system.png" border="0" id="link_first" align="absmiddle" alt="System Admin"title="System Admin" class="img" > </a></td></tr>
<tr><td align="right"><a href="logout.cfm" >Logout&nbsp;<img src="/images/system-log-out.png" border="0" id="link_first" align="absmiddle" alt="System Logout"title="System Logout" class="img" > </a></td></tr>
</table>
</div>

</div>

</td>
</tr>
</tbody>
</cffunction>

<cffunction access="public" returntype="any" name="layout_body_1"> 

<tbody>
<tr><td>&nbsp;</td></tr>
</tbody>

<tbody>
<tr>
<td  align="center" id="main_container">
<div id="body_container">
<div id="body_header_<cfoutput>#session.css_type#</cfoutput>">&nbsp;</div>
<div id="results_div">
</cffunction>


<cffunction access="public" returntype="any" name="layout_body_1_end">
</div>
</div>
</td>
</tr>
</tbody>
</cffunction>

<cffunction access="public" returntype="any" name="layout_bottom">

</table>
</body>
</html>
</cffunction>



<cffunction access="public" name="build_sub_admin_nav">
<cfargument name="calling_cfc" default="all" required="yes">
<div class="indentmenu">
<ul >
<cfif calling_cfc EQ "Delete POC">
  <li ><a href="admin_poc.cfm" class="current">Delete POC</a></li>
<cfelse>
  <li ><a href="admin_poc.cfm" id="">Delete POC</a></li>
</cfif>
<cfif calling_cfc EQ "System Configuration">
  <li><a href="admin_configuration.cfm" class="current">System Configuration</a></li>
<cfelse>
  <li><a href="admin_configuration.cfm" id="">System Configuration</a></li>
</cfif>
<cfif calling_cfc EQ "Admin Dashboard">
 <li><a href="admin_dashboard.cfm" class="current">Admin Dashboard</a></li>
<cfelse>
 <li><a href="admin_dashboard.cfm" id="">Admin Dashboard</a></li>
</cfif>
<cfif calling_cfc EQ "Admin Profile">
 <li><a href="admin_profile.cfm" class="current">Admin Profile</a></li>
<cfelse>
 <li><a href="admin_profile.cfm" id="">Admin Profile</a></li>
</cfif>

</ul>
</div>
</cffunction>


<cffunction access="public" name="dtp">
<cfargument name="inputField" required="no" default="">
<cfargument name="button" required="no" default="">
<cfargument name="PASSMonth" required="no" default="#month(now())#">
<cfargument name="PASSDay" required="no" default="#day(now())#">
<cfargument name="form" required="no" default="edit_">
<cfset datepicker = "
<img id='#button#' title='Choose Date' alt='Choose Date' style='CURSOR:pointer; ' src='/images/office-calendar.png' align='absmiddle' />
<input type='hidden' name='#PASSMonth#' id='#PASSMonth#' value='' /><input type='hidden' name='#PASSDay#' id='#PASSDay#' value='' /><input type='hidden' name='bday' id='bday' value='01-01-1980'/>
<script language='Javascript' type='text/javascript'>
Calendar.setup({
inputField     :    '#inputField#',     // id of the input field
ifFormat       :    '%m/%d/%y',      // format of the input field
button         :    '#button#',  // trigger for the (button ID)
align          :    'B2',           // alignment (defaults to 'Bl')
singleClick    :    true
});
</script>
<script language='Javascript' type='text/javascript'>
var _lastTempDate='';
var _counter=0;
function checkDate()
{
  var _form=document.#form#;
  var _obj=_form.#inputField#;
  if(_obj.value!=_lastTempDate)
  {
    _lastTempDate=_obj.value;
    var _args=_obj.value.split('-');
    _form.#PASSMonth#.value=_args[0];
    _form.#PASSDay#.value=_args[1];
  }
}

</script>">



<cfreturn datepicker>
</cffunction>

</cfcomponent>
